<?php
class control_index extends core_action{
	function index(){
		$params['title'] = "我是标题";
		$params['content'] = "我是内容";
		return $this->render("index.php",$params);
	}
	function upload(){
		if($_POST){
			$upload = new Qupload();
			print_r($upload->uploadFileToRemote($_FILES['file']));
		}else{
			return $this->render("upload.php",array());
		}
	}
}